﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Wheel _wheel = new Wheel(); //вызов метода
            _wheel.Seasons = Seasons.Summer;
            Console.WriteLine(_wheel.Seasons);
            _wheel.Rad = 3.5;   //устанавливаем новое значение радиуса (был 2.05)
            if (_wheel.Rad < 0)
            {
                Console.WriteLine("Error! The radius can't be less than zero!\n\t Press Enter");
                Console.ReadLine();
                return;
            }
            else
            {
                Console.WriteLine("Radius of the wheel is: " + _wheel.Rad);
                _wheel.param();
                Console.WriteLine("Wheel's radius is: {0} and season is {1}", _wheel.Rad, _wheel.Seasons);
                Console.WriteLine("\n\tPress Enter");
                Console.ReadLine();
            }
        }
    }
}
